home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / fax / src / etc / config.usr-sportster < prev    next >
Text File  |  1994-08-01  |  4KB  |  89 lines

  1. # $Header: /usr/people/sam/fax/etc/RCS/config.usr-sportster,v 1.7 1993/10/03 12:36:51 sam Rel $
  2. #
  3. # Configuration for using the Class 1 command interface with
  4. # a USR Sportster modem.  Beware that there are apparently two
  5. # different architectures for the modem.  Also, use of old
  6. # firmware can result in timing problems.  The following firmware
  7. # is known to work:
  8. #
  9. #        Rev    Date
  10. # Supervisor    4.1    04/22/93
  11. # DSP        10    03/23/93
  12. #
  13. # If you do not have up-to-date firmware and are experiencing
  14. # problems, contact USR to get an upgrade (apparently for free).
  15. #
  16. # XON/XOFF flow control is used.  RTS/CTS is also known to work.
  17. #
  18. # Note that when sending DCD is raised when carrier is first received,
  19. # but then dropped from the first HDLC receive until the point where the
  20. # initial training is sent (from that point on DCD is asserted). This
  21. # can be a problem because there is no way to override this behaviour
  22. # which means that the host must be capable of ignoring DCD for sending
  23. # to function correctly.
  24. #
  25. # CONFIG: CLASS1: 1444: Manufacturer=USRobotics Model=Sportster
  26. #
  27. CountryCode:        1        # USA
  28. LongDistancePrefix:    1
  29. InternationalPrefix:    011
  30. AreaCode:        415
  31. DialStringRules:    etc/dialrules
  32. FAXNumber:        +1.415.965.7824
  33. ServerTracing:        1        # log server-related operations
  34. SessionTracing:        11        # log session-related operations
  35. RecvFileMode:        0600        # recvd facsimile are not public
  36. LogFileMode:        0600        # private log files
  37. DeviceMode:        0600        # device is accessible only to uucp/fax
  38. #QualifyTSI:        etc/tsi        # accept facsimile from anyone
  39. SpeakerVolume:        off        # audible confirmation
  40. RingsBeforeAnswer:    1        # answer on first ring
  41. #
  42. # Modem-related stuff: should reflect modem command interface
  43. # and hardware connection/cabling (e.g. flow control).
  44. #
  45. # Note that we setup the modem to idle in class 0 to avoid
  46. # jinxing dial out programs.  See ModemSetupAACmd, ModemDialCmd
  47. # and ModemAnswerCmd.
  48. #
  49. # NB:  Modem sets &H3&I2 on +FCLASS=1
  50. #
  51. ModemType:        Class1        # use this to supply a hint
  52. ModemRate:        38400        # max rate for DCE-DTE communication
  53. ModemFlowControl:    xonxoff        # SunOS does CTS but not RTS
  54. ModemSetupDTRCmd:    &D2        # setup so DTR drop resets modem
  55. ModemSetupDCDCmd:    &C1        # setup so DCD reflects carrier (or not)
  56. ModemSetupAACmd:    +FCLASS=0&H1&I0
  57. ModemSetVolumeCmd:    "M0 M1 M1 M1 M1"# OFF QUIET LOW MEDIUM HIGH
  58. #
  59. #GettyArgs:        "-h %l dx_%s"    # NB: enable this for dialins (SGI)
  60. #GettyArgs:        "std.%s -"    # NB: enable this for dialins (SunOS)
  61. #
  62. # NB: If you need to prefix phone numbers to get through a PBX,
  63. #     put it in the ModemDialCmd; e.g. "DT9%s@".
  64. #
  65. ModemDialCmd:        +FCLASS=1DT%s    # T for tone dialing (XON/XOFF)
  66. #ModemDialCmd:        +FCLASS=1&H1&I0DT%s    # T for done dialing, (CTS/RTS)
  67. #
  68. # A shorter than normal timer is required for incoming calls to
  69. # avoid timing out most data callers when using adaptive answer.
  70. #
  71. Class1RecvIdentTimer:    15000        # shorter timer for incoming ID
  72. AdaptiveAnswer:        yes        # alternate fax/data answer on error
  73. ModemAnswerCmd:        +FCLASS=1A    # "generic" answer (counter 0 idle)
  74. #ModemAnswerCmd:        +FCLASS=1&H1&I0A    # (CTS/RTS)
  75. #
  76. # HACK:  Make sure the phone is on on-hook before answering in data mode.
  77. # This allows a crude adaptive answer capability by taking advantage of
  78. # the fact that, in the US at least, the phone company won't drop the
  79. # caller for ten seconds.
  80. #
  81. ModemAnswerDataCmd:    H+FCLASS=0A    # data answer (XON/XOFF)
  82. #ModemAnswerDataCmd:    H+FCLASS=0&H1&I0A    # data answer (RTS/CTS)
  83. ModemAnswerFaxCmd:    +FCLASS=1A    # fax answer (XON/XOFF)
  84. #ModemAnswerFaxCmd:    +FCLASS=1&H1&I0A    # fax answer (RTS/CTS)
  85. #
  86. ModemMfrQueryCmd:    !USR        # US Robotics
  87. ModemModelQueryCmd:    I3
  88. ModemRevQueryCmd:    I7
  89.